package com.hkyl.hospital.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class Dept implements Serializable {
    private Integer deptId;

    private String deptName;

    private Integer parentId;

    private Integer isDelete;

    private List<Dept> children;

    private List<User> doctors;
    private List<User> one = new ArrayList<>();
    private List<User> two = new ArrayList<>();
    private List<User> three = new ArrayList<>();
    private List<User> four = new ArrayList<>();
    private List<User> five = new ArrayList<>();
    private List<User> six = new ArrayList<>();
    private List<User> seven = new ArrayList<>();

    private static final long serialVersionUID = 1L;

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName == null ? null : deptName.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}